package com.imooc.mail.service;

import com.github.pagehelper.PageInfo;
import com.imooc.mail.form.ShippingForm;
import com.imooc.mail.vo.ResponseVo;

import java.util.Map;

/**
 * @Author wjc
 * Date on 2020/6/14 16:09
 */
public interface IShippingService {

    ResponseVo<Map<String, Integer>> add(Integer uid, ShippingForm form);

    ResponseVo delete(Integer uid, Integer shippingId);

    ResponseVo update(Integer uid, Integer shippingId, ShippingForm form);

    ResponseVo<PageInfo> list(Integer uid, Integer pageNum, Integer pageSize);

}
